<%@page contentType="text/html;charset=UTF-8"%>
<%@include file="common.jsp"%>

<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
  <meta name="description" content="">
  <meta name="author" content="">
  <link rel="icon" href="${ctx}/resources/images/favicon.ico">
  <title>XL-CD</title>
  <!-- Bootstrap core CSS -->
  <link href="${ctx}/resources/css/bootstrap/bootstrap.min.css" rel="stylesheet">
  <!-- Custom styles for this template -->
  <link href="${ctx}/resources/css/bootstrap/dashboard.css" rel="stylesheet">
  <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
  <script src="${ctx}/resources/js/bootstrap/ie10-viewport-bug-workaround.js"></script>

  <%@include file="common/head.jsp"%>
  <style type="text/css">
      html { overflow-x:hidden; overflow-y: hidden;}
      iframe{
          width: 100%;height:100%;
      }
  </style>
</head>

<body>

<nav class="navbar navbar-dark navbar-fixed-top bg-inverse">
  <button type="button" class="navbar-toggler visible-xs" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
    <span class="sr-only">Toggle navigation</span>
    <span class="icon-bar"></span>
    <span class="icon-bar"></span>
    <span class="icon-bar"></span>
    <span class="icon-bar"></span>
  </button>
  <a class="navbar-brand" href="#">XL-CD</a>
  <nav class="nav navbar-nav pull-left">
      <a class="nav-item nav-link" href="javascript:open('${ctx}/project/list','main')">项目列表</a>
      <a class="nav-item nav-link" href="javascript:open('${ctx}/k8/list?type=TEST','main')">监控列表</a>
      <a class="nav-item nav-link" href="javascript:open('${ctx}/setting','main')">Plugin</a>
      <a class="nav-item nav-link" href="javascript:open('${ctx}/k8/','main')">高级>></a>
    <%--<a class="nav-item nav-link" href="javascript:open('${ctx}/rescenter/','main');">ResCenter</a>--%>
	<%--<a class="nav-item nav-link" href="javascript:open('${ctx}/setting','main');">Setting</a>--%>
    <%--<a class="nav-item nav-link" href="javascript:open('${ctx}/user/list','main');">User</a>--%>
</nav>
</nav>

<%@include file="main.jsp"%>

<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="${ctx}/resources/js/bootstrap/jquery.min.js"></script>
<script src="${ctx}/resources/js/bootstrap/bootstrap.min.js"></script>
<!-- Just to make our placeholder images work. Don't actually copy the next line! -->
<script src="${ctx}/resources/js/bootstrap/holder.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="${ctx}/resources/js/bootstrap/ie10-viewport-bug-workaround.js"></script>
<script src="${ctx}/resources/js/monitor/xl-monitor.js"></script>
</body>
</html>